FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
sqlancer/test/sqlancer/TestLoggableFactory.java at main · sqlancer/sqlancer · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
sqlancer
/
sqlancer
Public
Notifications
You must be signed in to change notification settings
Fork
398
Star
1.8k
Code
Issues
80
Pull requests
60
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
sqlancer
/
test
/
sqlancer
/
TestLoggableFactory.java
Copy path
More file actions
More file actions
Latest commit
History
History
History
17 lines (13 loc) · 488 Bytes
Breadcrumbs
sqlancer
/
test
/
sqlancer
/
TestLoggableFactory.java
Copy path
File metadata and controls
17 lines (13 loc) · 488 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
package
sqlancer
;
import
org
.
junit
.
jupiter
.
api
.
Test
;
import
sqlancer
.
common
.
log
.
SQLLoggableFactory
;
import
sqlancer
.
common
.
query
.
SQLQueryAdapter
;
public
class
TestLoggableFactory
{
@
Test
public
void
testLogCreateTable
() {
String
query
=
"CREATE TABLE t1 (c1 INT)"
;
SQLLoggableFactory
logger
=
new
SQLLoggableFactory
();
SQLQueryAdapter
queryAdapter
=
logger
.
getQueryForStateToReproduce
(
query
);
assert
(
queryAdapter
.
couldAffectSchema
());
}
}
Back
|
FazBrowse Home
|
New Git URL