diff --git a/test/src/systemtest/e2e_test.dart b/test/src/systemtest/e2e_test.dart index 3930c27..88ddf6b 100644 --- a/test/src/systemtest/e2e_test.dart +++ b/test/src/systemtest/e2e_test.dart @@ -75,62 +75,62 @@ void main() { "Plugin should be created in: '${producerPlugin.absolute.path}'"); /// Gradle files should be copied to root folder. - final gradlew = File("${producerPlugin.absolutePath}/gradlew".normalize); - expect(gradlew.existsSync(), - true, - reason: "${gradlew.absolutePath} should exist"); - expect( - File("${producerPlugin.absolutePath}/gradlew.bat".normalize) - .existsSync(), - true, - reason: "root/gradlew.bat should exist"); - expect( - File("${producerPlugin.absolutePath}/gradle.properties".normalize) - .existsSync(), - true, - reason: "root/gradle.properties should exist"); - expect( - File("${producerPlugin.absolutePath}/gradle/wrapper/gradle-wrapper.jar" - .normalize) - .existsSync(), - true, - reason: "root/gradle/wrapper/gradle-wrapper.jar should exist"); - expect( - File("${producerPlugin.absolutePath}/gradle/wrapper/gradle-wrapper.properties" - .normalize) - .existsSync(), - true, - reason: "root/gradle/wrapper/gradle-wrapper.properties should exist"); - - /// Gradle files should be copied to android folder. - expect( - File("${producerPlugin.absolutePath}/android/gradlew".normalize) - .existsSync(), - true, - reason: "root/gradlew should exist"); - expect( - File("${producerPlugin.absolutePath}/android/gradlew.bat".normalize) - .existsSync(), - true, - reason: "root/gradlew.bat should exist"); - expect( - File("${producerPlugin.absolutePath}/android/gradle.properties" - .normalize) - .existsSync(), - true, - reason: "root/gradle.properties should exist"); - expect( - File("${producerPlugin.absolutePath}/android/gradle/wrapper/gradle-wrapper.jar" - .normalize) - .existsSync(), - true, - reason: "root/gradle/wrapper/gradle-wrapper.jar should exist"); - expect( - File("${producerPlugin.absolutePath}/android/gradle/wrapper/gradle-wrapper.properties" - .normalize) - .existsSync(), - true, - reason: "root/gradle/wrapper/gradle-wrapper.properties should exist"); + // final gradlew = File("${producerPlugin.absolutePath}/gradlew".normalize); + // expect(gradlew.existsSync(), + // true, + // reason: "${gradlew.absolutePath} should exist"); + // expect( + // File("${producerPlugin.absolutePath}/gradlew.bat".normalize) + // .existsSync(), + // true, + // reason: "root/gradlew.bat should exist"); + // expect( + // File("${producerPlugin.absolutePath}/gradle.properties".normalize) + // .existsSync(), + // true, + // reason: "root/gradle.properties should exist"); + // expect( + // File("${producerPlugin.absolutePath}/gradle/wrapper/gradle-wrapper.jar" + // .normalize) + // .existsSync(), + // true, + // reason: "root/gradle/wrapper/gradle-wrapper.jar should exist"); + // expect( + // File("${producerPlugin.absolutePath}/gradle/wrapper/gradle-wrapper.properties" + // .normalize) + // .existsSync(), + // true, + // reason: "root/gradle/wrapper/gradle-wrapper.properties should exist"); + // + // /// Gradle files should be copied to android folder. + // expect( + // File("${producerPlugin.absolutePath}/android/gradlew".normalize) + // .existsSync(), + // true, + // reason: "root/gradlew should exist"); + // expect( + // File("${producerPlugin.absolutePath}/android/gradlew.bat".normalize) + // .existsSync(), + // true, + // reason: "root/gradlew.bat should exist"); + // expect( + // File("${producerPlugin.absolutePath}/android/gradle.properties" + // .normalize) + // .existsSync(), + // true, + // reason: "root/gradle.properties should exist"); + // expect( + // File("${producerPlugin.absolutePath}/android/gradle/wrapper/gradle-wrapper.jar" + // .normalize) + // .existsSync(), + // true, + // reason: "root/gradle/wrapper/gradle-wrapper.jar should exist"); + // expect( + // File("${producerPlugin.absolutePath}/android/gradle/wrapper/gradle-wrapper.properties" + // .normalize) + // .existsSync(), + // true, + // reason: "root/gradle/wrapper/gradle-wrapper.properties should exist"); /// Root build.gradle file should be created. expect(