// Path: src/test/java/de/dynamicfiles/projects/gradle/plugins/javafx/tests/exampleprojects/ExampleProjectTest.java
// protected static final List<String> GRADLE_VERSIONS_TO_TEST_AGAINST = new ArrayList<>();
// 
// Path: src/test/java/de/dynamicfiles/projects/gradle/plugins/javafx/tests/exampleprojects/ExampleProjectTest.java
// public static void readVersionString() throws IOException {
//     List<String> versionFileLines = Files.readAllLines(new File("version.gradle").toPath());
//     versionFileLines.forEach(line -> {
//         if( line.contains("currentPluginVersion") ){
//             versionString = line.replace("currentPluginVersion", "").replace("=", "").replace("'", "").trim();
//         }
//     });
// }


import static de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects.ExampleProjectTest.GRADLE_VERSIONS_TO_TEST_AGAINST;
import static de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects.ExampleProjectTest.readVersionString;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.GradleRunner;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
/*
 * Copyright 2016 Danny Althoff
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects;


/**
 *
 * @author Danny Althoff
 */
public class AdditionalApplicationFiles extends ExampleProjectTest {

    @BeforeClass
    public static void readVersion() throws IOException {
// Path: src/test/java/de/dynamicfiles/projects/gradle/plugins/javafx/tests/exampleprojects/ExampleProjectTest.java
// protected static final List<String> GRADLE_VERSIONS_TO_TEST_AGAINST = new ArrayList<>();
// 
// Path: src/test/java/de/dynamicfiles/projects/gradle/plugins/javafx/tests/exampleprojects/ExampleProjectTest.java
// public static void readVersionString() throws IOException {
//     List<String> versionFileLines = Files.readAllLines(new File("version.gradle").toPath());
//     versionFileLines.forEach(line -> {
//         if( line.contains("currentPluginVersion") ){
//             versionString = line.replace("currentPluginVersion", "").replace("=", "").replace("'", "").trim();
//         }
//     });
// }


// Path: src/test/java/de/dynamicfiles/projects/gradle/plugins/javafx/tests/exampleprojects/AdditionalApplicationFiles.java
import static de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects.ExampleProjectTest.GRADLE_VERSIONS_TO_TEST_AGAINST;
import static de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects.ExampleProjectTest.readVersionString;
import java.io.File;
import java.io.IOException;
import java.nio.file.Files;
import java.nio.file.Path;
import org.gradle.testkit.runner.BuildResult;
import org.gradle.testkit.runner.GradleRunner;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;

/*
 * Copyright 2016 Danny Althoff
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package de.dynamicfiles.projects.gradle.plugins.javafx.tests.exampleprojects;


/**
 *
 * @author Danny Althoff
 */
public class AdditionalApplicationFiles extends ExampleProjectTest {

    @BeforeClass
    public static void readVersion() throws IOException {
        readVersionString();