File tree 2 files changed +9
-14
lines changed
user/test/com/google/gwt/user
2 files changed +9
-14
lines changed Original file line number Diff line number Diff line change 19
19
<servlet path =' /loggingrpc'
20
20
class =' com.google.gwt.user.server.rpc.LoggingRPCTestServiceImpl' />
21
21
22
+ <!-- Enabling sourcemaps will stop JUnit.gwt.xml from using emulated stack mode -->
22
23
<set-property name =" compiler.useSourceMaps" value =" true" />
24
+ <!-- This is the default, set explicitly to ensure we are set correctly -->
25
+ <set-property name =" compiler.stackMode" value =" native" />
23
26
24
-
25
- <!-- Turn off emulation to test non-sourcemap mode -->
26
- <set-property name =" compiler.stackMode" value =" native" />
27
- <!-- when Chrome is enabled, turn off stack trace emulation -->
28
- <set-property name =" compiler.stackMode" value =" strip" >
29
- <when-property-is name =" user.agent" value =" safari" />
30
- </set-property >
31
-
32
- <!-- when stack trace stripping is enabled, we need to replace the Null collector
33
- with one that does something -->
34
- <replace-with class =" com.google.gwt.core.client.impl.StackTraceCreator.CollectorChrome" >
27
+ <!-- When stack trace stripping is enabled, we need to replace the Null collector with one that
28
+ does something. Not currently in use, see https://github.com/gwtproject/gwt/issues/9956 for
29
+ more information. -->
30
+ <replace-with class =" com.google.gwt.core.client.impl.StackTraceCreator.CollectorModern" >
35
31
<when-type-is class =" com.google.gwt.core.client.impl.StackTraceCreator.Collector" />
36
- <when-property-is name =" compiler.useSourceMaps " value =" true " />
32
+ <when-property-is name =" compiler.stackMode " value =" strip " />
37
33
</replace-with >
38
-
39
34
</module >
Original file line number Diff line number Diff line change @@ -179,7 +179,7 @@ public void onSuccess(LogRecord record) {
179
179
break ;
180
180
}
181
181
}
182
- assertTrue (found );
182
+ assertTrue ("expected frame found in stack trace" , found );
183
183
finishTest ();
184
184
}
185
185
});
You can’t perform that action at this time.
0 commit comments