mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
sysobjects
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
package com.alibaba.druid.bvt.filter.wall;
|
||||
|
||||
import junit.framework.TestCase;
|
||||
|
||||
import org.junit.Assert;
|
||||
|
||||
import com.alibaba.druid.filter.wall.WallUtils;
|
||||
|
||||
/**
|
||||
* 这个场景测试访问SQLServer系统表
|
||||
*
|
||||
* @author RaymondXiu
|
||||
* @version 1.0, 2012-3-18
|
||||
* @see
|
||||
*/
|
||||
public class SQLServerWallPermitTableTest extends TestCase {
|
||||
public void test_permitTable() throws Exception {
|
||||
Assert.assertFalse(WallUtils.isValidateSqlServer("select * from sysObjects"));
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user