Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
test-platform
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马博
test-platform
Commits
e0e28635
Commit
e0e28635
authored
Oct 18, 2018
by
马博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
delete
parent
896ac173
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
89 deletions
+0
-89
test.java
src/test/java/http/cases/test.java
+0
-35
test.java
src/test/java/test.java
+0
-41
Testui.java
src/test/java/ui/Testui.java
+0
-13
No files found.
src/test/java/http/cases/test.java
deleted
100644 → 0
View file @
896ac173
package
http
.
cases
;
/**
* Created by mabo on 2018/10/17
*/
import
java.util.ArrayList
;
import
java.util.List
;
/*
* 堆oom
* 类的实例放到heap中,所以不断创建类就可以测试出heap的oom了
* jconsole可以监控资源
*
* Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
*/
public
class
test
{
static
class
TestHeepObject
{
}
public
static
void
main
(
String
[]
args
)
{
List
<
TestHeepObject
>
heapList
=
new
ArrayList
<
TestHeepObject
>();
while
(
true
)
{
// try {
// Thread.sleep(100);
// } catch (InterruptedException e) {
// e.printStackTrace();
// }
heapList
.
add
(
new
TestHeepObject
());
}
}
}
src/test/java/test.java
deleted
100644 → 0
View file @
896ac173
import
base.DuibaBase
;
import
base.DuibaLog
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.testng.annotations.Test
;
import
ui.Testui
;
import
java.util.Random
;
/**
* Created by mabo on 2018/9/20
*/
public
class
test
extends
DuibaBase
{
// @Autowired
// Testhttp_Test test;
// @Autowired
// Testui testui;
//
// public static int i=2;
// public DuibaLog log = DuibaLog.getLogger();
// @Test
// public void test(){
// test.test();
// testui.test();
//
// Random rand = new Random();
//
// log.info("test log");
//// Assert.assertEquals(1,rand.nextInt(2));
//
//
//
//
//
// }
// @Test
// public void test1(){
// i=i-1;
// }
}
src/test/java/ui/Testui.java
deleted
100644 → 0
View file @
896ac173
package
ui
;
import
org.springframework.stereotype.Service
;
/**
* Created by mabo on 2018/9/20
*/
@Service
public
class
Testui
{
public
void
test
(){
System
.
out
.
println
(
"ui"
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment