File tree Expand file tree Collapse file tree 1 file changed +19
-0
lines changed
cute/src/test/java/io/toolisticon/cute Expand file tree Collapse file tree 1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -1048,6 +1048,25 @@ public void doTests(CuteClassLoader cuteClassLoader) throws Exception{
1048
1048
.executeTest ();
1049
1049
}
1050
1050
1051
+ @ Test ()
1052
+ public void blackBoxTest_justCompileCodeAndDoClassTest4 () {
1053
+ Cute .blackBoxTest ().given ().processors ()
1054
+ .andSourceFiles ("/TestClassWithInnerClasses.java" )
1055
+ .whenCompiled ()
1056
+ .thenExpectThat ()
1057
+ .compilationSucceeds ()
1058
+ .andThat ().generatedClass ("io.toolisticon.cute.TestClassWithInnerClasses$InnerClass" ).testedSuccessfullyBy (new GeneratedClassesTestForSpecificClass () {
1059
+ @ Override
1060
+ public void doTests ( Class <?> innerClazz , CuteClassLoader cuteClassLoader ) throws Exception {
1061
+
1062
+ MatcherAssert .assertThat (innerClazz .getCanonicalName (),Matchers .is ("io.toolisticon.cute.TestClassWithInnerClasses.InnerClass" ));
1063
+
1064
+
1065
+ }
1066
+ })
1067
+ .executeTest ();
1068
+ }
1069
+
1051
1070
@ Test ()
1052
1071
public void blackBoxTest_justCompileCodeAndDoClassTestWithImplementedInterface () {
1053
1072
Cute .blackBoxTest ().given ().noProcessors ()
You can’t perform that action at this time.
0 commit comments