mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-12-01 15:37:14 +00:00
#1237 - ENH: Add ProfileLocation - support for relating performance metrics for queries and transactions back to source line of code
This commit is contained in:
1 parent
82f5c21d26
commit
b9ae76d465
23 files changed
+359
-11
No files matched your search
@@ -0,0 +1,17 @@
|
||||
package io.ebeaninternal.server.profile;
|
||||
|
||||
import org.junit.Test;
|
||||
|
||||
import static org.assertj.core.api.Assertions.assertThat;
|
||||
|
||||
public class BasicProfileLocationTest {
|
||||
|
||||
@Test
|
||||
public void obtain() {
|
||||
|
||||
DProfileLocation loc = new DProfileLocation(12);
|
||||
String obtain = loc.obtain();
|
||||
|
||||
assertThat(obtain).endsWith(":12)");
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user