class_name stringlengths 1 78 | java_source stringlengths 11 837k | jasm_code stringlengths 237 1.46M | java_test stringlengths 592 4.08M | java_scaffold stringlengths 2.82k 8.12k | class_idx int64 0 153k |
|---|---|---|---|---|---|
NetTotals | /** */
/**
* @author ranjitk
*/
public class NetTotals {
private String netAmount;
private String count;
public String getNetAmount() {
return netAmount;
}
public void setNetAmount(String netAmount) {
this.netAmount = netAmount;
}
public String getCount() {
return count;
}
public ... | .version 52 0
.class public super NetTotals
.super java/lang/Object
.field private netAmount Ljava/lang/String;
.field private count Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 17:23:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 17:23:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,000 |
Formatter | /*
* Copyright 2011 Google Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in w... | .version 52 0
.class public super Formatter
.super java/lang/Object
.method public static varargs format : (Ljava/lang/String;[Ljava/lang/Object;)Ljava/lang/String;
.code stack 5 locals 6
L0: aload_0
L1: invokestatic Method java/lang/String valueOf (Ljava/lang/Object;)Ljava/lang/String;
L4: asto... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:14:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:14:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,001 |
Event | /**
* @author Horrible Perl Script. Ewwww.
*/
public class Event {
/** methodName */
private final String methodName;
/**
* Get the value of methodName
*
* @return The value of methodName
*/
public String getMethodName() {
return methodName;
}
/** Construct a new Event. */
public Event... | .version 52 0
.class public super Event
.super java/lang/Object
.field private final methodName Ljava/lang/String;
.method public getMethodName : ()Ljava/lang/String;
.code stack 1 locals 1
L0: aload_0
L1: getfield Field Event methodName Ljava/lang/String;
L4: areturn
L5:
.linenum... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:07:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:07:00 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,002 |
SetServiceException | /*
* JBoss, Home of Professional Open Source
* Copyright 2012, Red Hat, Inc. and/or its affiliates, and individual
* contributors by the @authors tag. See the copyright.txt in the
* distribution for a full listing of individual contributors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* y... | .version 52 0
.class public super SetServiceException
.super java/lang/Exception
.method public <init> : (Ljava/lang/String;Ljava/lang/Throwable;)V
.code stack 3 locals 3
L0: aload_0
L1: aload_1
L2: aload_2
L3: invokespecial Method java/lang/Exception <init> (Ljava/lang/String;Ljava/lang/Th... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:13:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:13:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,003 |
FilePointer | import java.io.IOException;
import java.io.RandomAccessFile;
import java.nio.channels.FileChannel;
/**
* Test file pointer manipulation between FileChannel and RandomAccessFile objects.
*
* <p>Created Feb 2002
*
* @author Ron Hitchens (ron@ronsoft.com)
* @version $Id: FilePointer.java,v 1.1 2002/02/20 03:16:33 r... | .version 52 0
.class public super FilePointer
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 17
.end linenumbertable
.end code ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:23:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:23:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,004 |
BackpackVI | import java.util.Arrays;
/** Created by Administrator on 2016/8/6. */
public class BackpackVI {
public static void main(String[] args) {
int[] nums = {1, 2, 4};
System.out.print(backPackVI(nums, 4));
}
public static int backPackVI(int[] nums, int target) {
int[] dp = new int[target + 1];
Arrays.... | .version 52 0
.class public super BackpackVI
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 12:16:18 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 12:16:18 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,005 |
NthDigit | // Question: https://leetcode.com/problems/nth-digit/
public class NthDigit {
public int findNthDigit(int n) {
if (n < 10) {
return n;
}
int base = 9;
long start = 1;
int bits = 1;
int seg = n;
while (true) {
long res = seg - base * start * bits;
if (res < 0) {
... | .version 52 0
.class public super NthDigit
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 05:01:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 05:01:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,006 |
IsstaFoo | /**
* Copyright (C) 2010-2017 Gordon Fraser, Andrea Arcuri and EvoSuite contributors
*
* <p>This file is part of EvoSuite.
*
* <p>EvoSuite is free software: you can redistribute it and/or modify it under the terms of the GNU
* Lesser General Public License as published by the Free Software Foundation, either vers... | .version 52 0
.class public super IsstaFoo
.super java/lang/Object
.field private x I
.field private str Ljava/lang/String;
.field private str2 Ljava/lang/String;
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:30:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:30:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,007 |
SpriteSheet | import java.awt.image.BufferedImage;
public class SpriteSheet {
private BufferedImage sheet;
private int spriteCount;
private int scale;
private int spritesInWidth;
public SpriteSheet(BufferedImage sheet, int spriteCount, int scale) {
this.sheet = sheet;
this.spriteCount = spriteCount;
this.sca... | .version 52 0
.class public super SpriteSheet
.super java/lang/Object
.field private sheet Ljava/awt/image/BufferedImage;
.field private spriteCount I
.field private scale I
.field private spritesInWidth I
.method public <init> : (Ljava/awt/image/BufferedImage;II)V
.code stack 3 locals 4
L0: aload_0
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 12:07:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.awt.image.BufferedImage;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerPara... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 12:07:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,008 |
Province | /** Created by Administrator on 2016/10/23. */
public class Province {
private int id;
private String provinceName;
private String provinceCode;
public int getId() {
return id;
}
public void setId(int id) {
this.id = id;
}
public String getProvinceName() {
return provinceName;
}
publ... | .version 52 0
.class public super Province
.super java/lang/Object
.field private id I
.field private provinceName Ljava/lang/String;
.field private provinceCode Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:45:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:45:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,009 |
User | import java.io.Serializable;
@SuppressWarnings("serial")
public class User implements Serializable {
private Integer id;
private String username;
private String pwd;
private String firstname;
private String lastname;
private String phone;
private String email;
public Integer getId() {
return id;
... | .version 52 0
.class public super User
.super java/lang/Object
.implements java/io/Serializable
.field private id Ljava/lang/Integer;
.field private username Ljava/lang/String;
.field private pwd Ljava/lang/String;
.field private firstname Ljava/lang/String;
.field private lastname Ljava/lang/String;
.field pr... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 05:31:34 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 05:31:34 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,010 |
Main | /*
* Copyright (C) 2015 Intel Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or... | .version 52 0
.class public super Main
.super java/lang/Object
.field final iterations I = 100
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: bipush 100
L7: putfield Field Main iterations I
L10: r... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:07:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:07:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,011 |
WordAbbreviationCombination | import java.util.*;
/**
* Date 04/17/2106
*
* @author Tushar Roy
* <p>Write a function to generate the generalized abbreviations of a word. Example: Given word
* = "word", return the following list (order does not matter): ["word", "1ord", "w1rd", "wo1d",
* "wor1", "2rd", "w2d", "wo2", "1o1d", "1or1"... | .version 52 0
.class public super WordAbbreviationCombination
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 16
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:25:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtim... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:25:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,012 |
OrderService | /**
* Created by IntelliJ IDEA. User: rcuprak Date: 8/20/11 Time: 1:53 PM To change this template use
* File | Settings | File Templates.
*/
public class OrderService {}
| .version 52 0
.class public super OrderService
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 10
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:38:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:38:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,013 |
SaslConstants | /*
* Licensed to the Apache Software Foundation (ASF) under one
* or more contributor license agreements. See the NOTICE file
* distributed with this work for additional information
* regarding copyright ownership. The ASF licenses this file
* to you under the Apache License, Version 2.0 (the
* "License")... | .version 52 0
.class public final super SaslConstants
.super java/lang/Object
.field public static final SASL_SERVER Ljava/lang/String; = 'saslServer'
.field public static final SASL_HOST Ljava/lang/String; = 'host'
.field public static final LDAP_PROTOCOL Ljava/lang/String; = 'ldap'
.field public static final SA... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:11:00 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:11:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,014 |
TestContent | import java.util.concurrent.Callable;
public class TestContent implements Callable<String> {
public TestContent() {}
public String call() throws Exception {
System.out.println("Test Class in call() method");
String response =
"<html><body>\n"
+ "<h1>TestClass Page</h1><br/>\n"
... | .version 52 0
.class public super TestContent
.super java/lang/Object
.implements java/util/concurrent/Callable
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 20:46:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 20:46:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,015 |
PersistenceConstants | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public final super PersistenceConstants
.super java/lang/Object
.field public static final GET_MONITERED_INSTANCE Ljava/lang/String; = 'GET_MONITERED_INSTANCE'
.field public static final DELETE_MONITORED_INSTANCES Ljava/lang/String; = 'DELETE_MONITORED_INSTANCES'
.field public static final GET... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:15:15 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:15:15 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,016 |
MenuDto | import java.util.List;
public class MenuDto {
// 菜单id
private Integer MENU_ID;
// 父菜单id
private Integer PARENT_MENU_ID;
// 菜单url
private String MENU_URL;
// 菜单名称
private String MENU_NAME;
// 父菜单名称
private String PARENT_MENU_NAME;
// 菜单顺序
private Integer ORDER_NUM;
// 注释
private String MENU... | .version 52 0
.class public super MenuDto
.super java/lang/Object
.field private MENU_ID Ljava/lang/Integer;
.field private PARENT_MENU_ID Ljava/lang/Integer;
.field private MENU_URL Ljava/lang/String;
.field private MENU_NAME Ljava/lang/String;
.field private PARENT_MENU_NAME Ljava/lang/String;
.field private ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:27:40 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.LinkedList;
import java.util.List;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:27:40 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,017 |
DatabaseConstants | /*
* Copyright (c) 2016. Self Training Systems, Inc - All Rights Reserved
* Unauthorized copying of this file, via any medium is strictly prohibited
* Proprietary and confidential
* Written by <tien.workinfo@gmail.com - rubit1359@gmail.com - manetivinay@gmail.com>, October 2016
*/
/**
* {@link DatabaseConstants}... | .version 52 0
.class public super DatabaseConstants
.super java/lang/Object
.field public static final REQUESTS Ljava/lang/String; = 'requests'
.field public static final TAGS Ljava/lang/String; = 'tags'
.field public static final RUBIT_USERS Ljava/lang/String; = 'rubit_users'
.field public static final USER_ID L... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 07:44:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 07:44:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,018 |
grstge | public class grstge {
/**
* @param args
*/
public static void main(String[] args) {
// TODO Auto-generated method stub
}
}
| .version 52 0
.class public super grstge
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:56:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:56:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,019 |
JSONReader | import java.math.BigDecimal;
import java.math.BigInteger;
import java.text.CharacterIterator;
import java.text.StringCharacterIterator;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
/** 不能直接使用JSONReader,请用JSONValidatingReader,所以这里改为abstract修饰。 */
public abstract cla... | .version 52 0
.class public super abstract JSONReader
.super java/lang/Object
.field private static final ARRAY_END Ljava/lang/Object;
.field private static final COLON Ljava/lang/Object;
.field private static final COMMA Ljava/lang/Object;
.field public static final CURRENT I = 1
.field private static escapes L... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 02:11:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 02:11:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,020 |
HelloWorld | public class HelloWorld {
public String sayHello() {
return "Hello World Balaji";
}
}
| .version 52 0
.class public super HelloWorld
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:34:31 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:34:31 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,021 |
DataContext | import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;
public class DataContext {
private static final String LOCALE = "locale";
public static final String NAME = "name";
protected final List<Map<String, Object>> stack = new ArrayList<>();
void save() {
HashMa... | .version 52 0
.class public super DataContext
.super java/lang/Object
.field private static final LOCALE Ljava/lang/String; = 'locale'
.field public static final NAME Ljava/lang/String; = 'name'
.field protected final stack Ljava/util/List; .fieldattributes
.signature Ljava/util/List<Ljava/util/Map<Ljava/lang... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:00:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.HashMap;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.cl... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:00:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,022 |
GridBagConstraintsHelper | import java.awt.*;
/**
* 帮助创建GridBagConstrains类
*
* @author XiaJT
*/
public class GridBagConstraintsHelper extends GridBagConstraints {
/** */
private static final long serialVersionUID = 1L;
/**
* 指定组件起始网格的构造函数
*
* @param gridx 水平方向上的起始网格
* @param gridy 竖直方向上的起始网格
*/
public GridBagConstra... | .version 52 0
.class public super GridBagConstraintsHelper
.super java/awt/GridBagConstraints
.field private static final serialVersionUID J = 1L
.method public <init> : (II)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/awt/GridBagConstraints <init> ()V
L4: aload_0
L5: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:38:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:38:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,023 |
RobotMap | /**
* The RobotMap is a mapping from the ports sensors and actuators are wired into to a variable name.
* This provides flexibility changing wiring, makes checking the wiring easier and significantly
* reduces the number of magic numbers floating around.
*/
public class RobotMap {
public static final int LEFT_DRI... | .version 52 0
.class public super RobotMap
.super java/lang/Object
.field public static final LEFT_DRIVE_MOTOR_ALPHA I = 2
.field public static final LEFT_DRIVE_MOTOR_BETA I = 5
.field public static final RIGHT_DRIVE_MOTOR_ALPHA I = 4
.field public static final RIGHT_DRIVE_MOTOR_BETA I = 6
.field public static f... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:03:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:03:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,024 |
ModuleStage | /**
* @author Pim de Witte(wwadewitte), Whitespell LLC 11/16/14 model
*/
public class ModuleStage {
String running_version;
String last_attempted_version;
int last_exit_code;
int attempts;
public String getRunningVersion() {
return this.running_version;
}
public String getLastAttemptedVersion() {... | .version 52 0
.class public super ModuleStage
.super java/lang/Object
.field running_version Ljava/lang/String;
.field last_attempted_version Ljava/lang/String;
.field last_exit_code I
.field attempts I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/l... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 05:11:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 05:11:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,025 |
HttpClient | public class HttpClient {}
//
// import java.io.BufferedReader;
// import java.io.ByteArrayOutputStream;
// import java.io.DataOutputStream;
// import java.io.FileInputStream;
// import java.io.IOException;
// import java.io.InputStreamReader;
// import java.io.OutputStream;
// import java.io.PrintWriter;
// import ja... | .version 52 0
.class public super HttpClient
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:23:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:23:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,026 |
C3 | import java.awt.Color;
public class C3 {
int red = 0;
int green = 0;
int blue = 0;
public C3(int r, int g, int b) {
red = r;
green = g;
blue = b;
}
public C3(C3 x) {
set(x);
}
public C3(int pixel) {
int r = ((pixel >> 16) & 0xff);
int g = ((pixel >> 8) & 0xff);
int b = ((... | .version 52 0
.class public super C3
.super java/lang/Object
.field red I
.field green I
.field blue I
.method public <init> : (III)V
.code stack 2 locals 4
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field C3 red I
L9: ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:03:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.awt.Color;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:03:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,027 |
Address | import java.io.Serializable;
public class Address implements Serializable {
/** */
private static final long serialVersionUID = -8062322333214705767L;
private String address;
private String additionalAddress;
private String zipCode;
private String city;
private String SSAEmetteur;
private String dat... | .version 52 0
.class public super Address
.super java/lang/Object
.implements java/io/Serializable
.field private static final serialVersionUID J = -8062322333214705767L
.field private address Ljava/lang/String;
.field private additionalAddress Ljava/lang/String;
.field private zipCode Ljava/lang/String;
.field... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:07:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:07:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,028 |
IfSamples | public class IfSamples {
public static String booleanToYesNo(boolean b) {
if (b) {
return "Yes";
} else {
return "No";
}
}
public static int abs(int number) {
if (number < 0) {
return -number;
} else {
return number;
}
}
public static int sign(int number) {
... | .version 52 0
.class public super IfSamples
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.e... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 20:40:47 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 20:40:47 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,029 |
WorkflowManagerException | /*
* Copyright 2012 Luca Zanconato
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed ... | .version 52 0
.class public super WorkflowManagerException
.super java/lang/Exception
.field private static final serialVersionUID J = 1L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init> (Ljava/lang/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:42:09 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:42:09 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,030 |
PrintHelper | /** Helps with outputting numbers. */
public class PrintHelper {
/**
* Returns number in 0xABCDEF-Format
*
* @param n
* @return
*/
public static String printHexNumber(int n) {
return "0x" + Integer.toHexString(n).toUpperCase();
}
}
| .version 52 0
.class public super PrintHelper
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 21:00:08 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 21:00:08 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,031 |
HTTPXMLHelper | /*
* PS3 Media Server, for streaming any medias to your PS3.
* Copyright (C) 2008 A.Brochard
*
* This program is free software; you can redistribute it and/or
* modify it under the terms of the GNU General Public License
* as published by the Free Software Foundation; version 2
* of the License only.
*
* This... | .version 52 0
.class super HTTPXMLHelper
.super java/lang/Object
.field private static final CRLF Ljava/lang/String; = '\r\n'
.field static final XML_HEADER Ljava/lang/String; = '<?xml version="1.0" encoding="utf-8"?>'
.field static final SOAP_ENCODING_HEADER Ljava/lang/String; = '<s:Envelope xmlns:s="http://schem... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 16:39:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 16:39:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,032 |
ConverterException | /** */
public class ConverterException extends RuntimeException {
private static final long serialVersionUID = -2127788889952724963L;
public ConverterException() {
super();
}
public ConverterException(String message, Throwable cause) {
super(message, cause);
}
public ConverterException(String me... | .version 52 0
.class public super ConverterException
.super java/lang/RuntimeException
.field private static final serialVersionUID J = -2127788889952724963L
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:47:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:47:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,033 |
UserInfo | import java.math.BigDecimal;
import java.util.Date;
public class UserInfo {
private String id;
private String userId;
private String userName;
private String idCard;
private String sex;
private Date birthday;
private BigDecimal age;
private String nativePlace;
private String nation;
privat... | .version 52 0
.class public super UserInfo
.super java/lang/Object
.field private id Ljava/lang/String;
.field private userId Ljava/lang/String;
.field private userName Ljava/lang/String;
.field private idCard Ljava/lang/String;
.field private sex Ljava/lang/String;
.field private birthday Ljava/util/Date;
.fi... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:59:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:59:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,034 |
Constants | /** copyright Inubit AG Schoeneberger Ufer 89 10785 Berlin Germany */
import java.util.ArrayList;
import java.util.HashMap;
/**
* @author ff
*/
public class Constants {
public static final String CONF_GENERATE_BB_POOLS = "T2P_GenerateBBPools";
public static final String CONF_GENERATE_DATA_OBJECTS = "T2P_Generat... | .version 52 0
.class public super Constants
.super java/lang/Object
.field public static final CONF_GENERATE_BB_POOLS Ljava/lang/String; = 'T2P_GenerateBBPools'
.field public static final CONF_GENERATE_DATA_OBJECTS Ljava/lang/String; = 'T2P_GenerateDO'
.field public static final CONF_GENERATE_ADD_UNKNOWN_PT Ljava/... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 19:38:01 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 19:38:01 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,035 |
P02JediGalaxy | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class P02JediGalaxy {
public static void main(String[] args) throws IOException {
BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
String[] dimensions = reader.readLine().split("\... | .version 52 0
.class public super P02JediGalaxy
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 7
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:49:14 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.u... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:49:14 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,036 |
Tag | public class Tag {
private String key;
private String value;
public Tag(String key, String value) {
this.key = key;
this.value = value;
}
@Override
public String toString() {
return key + ": " + value;
}
/**
* @return the key
*/
public String getKey() {
return key;
}
/**
... | .version 52 0
.class public super Tag
.super java/lang/Object
.field private key Ljava/lang/String;
.field private value Ljava/lang/String;
.method public <init> : (Ljava/lang/String;Ljava/lang/String;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:37:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:37:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,037 |
OrderDataBean | /**
* Licensed to the Apache Software Foundation (ASF) under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional information regarding
* copyright ownership. The ASF licenses this file to You under the Apache License, Version 2.0 (the
* "License"); you may not... | .version 52 0
.class public super OrderDataBean
.super java/lang/Object
.field private orderID Ljava/lang/Integer;
.field private orderType Ljava/lang/String;
.field private orderStatus Ljava/lang/String;
.field private openDate Ljava/util/Calendar;
.field private completionDate Ljava/util/Calendar;
.field priv... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 02:04:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.math.BigDecimal;
import java.math.BigInteger;
import java.util.Calendar;
import java.util.TimeZone;
import org.evosuite.runtime.EvoRunner;
import org.evosuit... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 02:04:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,038 |
FNV1HashUtils | public class FNV1HashUtils {
// 使用FNV1_32_HASH算法计算服务器的Hash值,这里不使用重写hashCode的方法,最终效果没区别
public static int getHash(String str) {
final int p = 16777619;
int hash = (int) 2166136261L;
for (int i = 0; i < str.length(); i++) {
hash = (hash ^ str.charAt(i)) * p;
}
hash += hash << 13;
hash ^=... | .version 52 0
.class public super FNV1HashUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 06:08:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 06:08:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,039 |
Card | /**
* Card.java
*
* <p>Card represents a playing card.
*/
public class Card {
private String suit;
private String rank;
private int pointValue;
private String[] acceptableSuits = {"Clubs", "Hearts", "Diamonds", "Spades"};
private String[] acceptableRanks = {
"2", "3", "4", "5", "6", "7", "8", "9", "... | .version 52 0
.class public super Card
.super java/lang/Object
.field private suit Ljava/lang/String;
.field private rank Ljava/lang/String;
.field private pointValue I
.field private acceptableSuits [Ljava/lang/String;
.field private acceptableRanks [Ljava/lang/String;
.method public <init> : (Ljava/lang/Stri... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:39:32 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:39:32 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,040 |
RoadNetworkDrawerConstants | /*
* $Id$
* This file is a part of the Arakhne Foundation Classes, http://www.arakhne.org/afc
*
* Copyright (c) 2000-2012 Stephane GALLAND.
* Copyright (c) 2005-10, Multiagent Team, Laboratoire Systemes et Transports,
* Universite de Technologie de Belfort-Montbeliard.
* Copyright (c) 2013... | .version 52 0
.class public final super RoadNetworkDrawerConstants
.super java/lang/Object
.field public static final DRAWING_STATE_ROAD_BORDERS I = 0
.field public static final DRAWING_STATE_ROAD_INTERIOR I = 1
.field public static final DRAWING_STATE_ROAD_DETAILS I = 2
.field public static final LANE_LINE_OPACI... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 04:57:46 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 04:57:46 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,041 |
DoNotVisitNodesThatAreBeingChangedSample | /*
* AutoRefactor - Eclipse plugin to automatically refactor Java code bases.
*
* Copyright (C) 2014 Jean-Noël Rouvignac - initial API and implementation
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Soft... | .version 52 0
.class public super DoNotVisitNodesThatAreBeingChangedSample
.super java/lang/Object
.field public b Ljava/lang/Boolean;
.field public i Ljava/lang/Integer;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: ret... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 14:17:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 14:17:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,042 |
SunBootClassPath | /*
* Copyright (c) 2015 Oracle and/or its affiliates. All rights reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Softwar... | .version 52 0
.class public super SunBootClassPath
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 30
.end linenumbertable
.end ... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 22:22:54 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 22:22:54 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,043 |
NavigableSetTest | import java.util.NavigableSet;
import java.util.Random;
import java.util.concurrent.ConcurrentSkipListSet;
public class NavigableSetTest {
private static Integer arr[] = new Integer[20];
private static Random rand = new Random();
static {
for (int i = 0; i < arr.length; i++) {
arr[i] = rand.nextInt(50... | .version 52 0
.class public super NavigableSetTest
.super java/lang/Object
.field private static arr [Ljava/lang/Integer;
.field private static rand Ljava/util/Random;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 15:33:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 15:33:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,044 |
AbstractPersistable | /*
* Copyright 2010 JBoss Inc
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to i... | .version 52 0
.class public super abstract AbstractPersistable
.super java/lang/Object
.implements java/io/Serializable
.field protected referenceId Ljava/lang/Long;
.method protected <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: retur... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 16:45:05 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 16:45:05 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,045 |
Stack | public class Stack {
private byte[] stack;
private int lastPosition;
public Stack(int size) {
stack = new byte[size];
lastPosition = size;
}
public byte getByte(int pointer) {
if (pointer < 0 || pointer > lastPosition) {
throw new IndexOutOfBoundsException("Pointer out of range");
}
... | .version 52 0
.class public super Stack
.super java/lang/Object
.field private stack [B
.field private lastPosition I
.method public <init> : (I)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: newarray byte
L8: ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 06:43:25 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 06:43:25 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,046 |
MarkerRecordedEventAttributes | /*
* Copyright 2010-2016 Amazon.com, Inc. or its affiliates. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License").
* You may not use this file except in compliance with the License.
* A copy of the License is located at
*
* http://aws.amazon.com/apache2.0
*
* or in the "lice... | .version 52 0
.class public super MarkerRecordedEventAttributes
.super java/lang/Object
.implements java/io/Serializable
.implements java/lang/Cloneable
.field private markerName Ljava/lang/String;
.field private details Ljava/lang/String;
.field private decisionTaskCompletedEventId Ljava/lang/Long;
.method pu... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:21:22 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:21:22 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,047 |
Tuple | /**
* Tuple
* -----------------------------------------------------------------------------------------------------------------------------------
*
* @author YRain
*/
public class Tuple {
private Object element;
private Double score;
public Tuple(Object element, Double score) {
super();
this.elemen... | .version 52 0
.class public super Tuple
.super java/lang/Object
.field private element Ljava/lang/Object;
.field private score Ljava/lang/Double;
.method public <init> : (Ljava/lang/Object;Ljava/lang/Double;)V
.code stack 2 locals 3
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:32:38 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:32:38 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,048 |
TokenMgrError | /* Generated By:JavaCC: Do not edit this line. TokenMgrError.java Version 3.0 */
/****************************************************************
* Licensed to the Apache Software Foundation (ASF) under one *
* or more contributor license agreements. See the NOTICE file *
* distributed with this work for additio... | .version 52 0
.class public super TokenMgrError
.super java/lang/Error
.field static final LEXICAL_ERROR I = 0
.field static final STATIC_LEXER_ERROR I = 1
.field static final INVALID_LEXICAL_STATE I = 2
.field static final LOOP_DETECTED I = 3
.field errorCode I
.method protected static final addEscapes : (Lja... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 15:59:55 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 15:59:55 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,049 |
StrictClass | public class StrictClass {
public StrictClass(int i) {}
}
| .version 52 0
.class public super StrictClass
.super java/lang/Object
.method public <init> : (I)V
.code stack 1 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
L4 7
.end linenumbertab... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:37:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:37:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,050 |
FinalNim | /********************************************************************************
* Compilation: javac FinalNim.java
* Execution: java FinalNim
*
* Author: Muhammad Suleman
*
*********************************************************************************/
import java.io.*;
import java.util.*;
class Fin... | .version 52 0
.class super FinalNim
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 14
.end linenumbertable
.end code
.end method
.m... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:22:28 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:22:28 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,051 |
ArrayUtils | /*******************************************************************************
* Copyright (c) 2019 Infostretch Corporation
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without re... | .version 52 0
.class public super ArrayUtils
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 24
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:54:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:54:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,052 |
FileParameter | // See the LICENCE.txt file distributed with this work for additional
// information regarding copyright ownership.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache... | .version 52 0
.class public super FileParameter
.super java/lang/Object
.field fileSize Ljava/lang/Long;
.field filePath Ljava/lang/String;
.field fileName Ljava/lang/String;
.field isFile Z
.field modificationTime J
.method public <init> : (Ljava/lang/Long;Ljava/lang/String;Ljava/lang/String;JZ)V
.code s... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:32:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:32:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,053 |
ReentrancySpinLock | import java.util.concurrent.atomic.AtomicReference;
/** 可重入的自旋锁 User: <a href="mailto:yanmingming1989@163.com">严明明</a> Date: 15/6/3 Time: 下午9:14 */
public class ReentrancySpinLock {
private AtomicReference<Thread> owner = new AtomicReference<Thread>();
private int count = 0;
public void lock() {
Thread cur... | .version 52 0
.class public super ReentrancySpinLock
.super java/lang/Object
.field private owner Ljava/util/concurrent/atomic/AtomicReference; .fieldattributes
.signature Ljava/util/concurrent/atomic/AtomicReference<Ljava/lang/Thread;>;
.end fieldattributes
.field private count I
.method public <init> : ()... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:08:24 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:08:24 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,054 |
IngestionException | /*
* Copyright 2012-2013 inBloom, Inc. and its affiliates.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by appli... | .version 52 0
.class public super IngestionException
.super java/lang/Exception
.field private static final serialVersionUID J = -6220525338718056313L
.method public <init> : (Ljava/lang/String;)V
.code stack 2 locals 2
L0: aload_0
L1: aload_1
L2: invokespecial Method java/lang/Exception <init>... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:44:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.lang.MockThrowable;
import org.junit.runner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:44:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,055 |
ConnTest22 | // Create connection, setAutocommit(false) , create Statement, insert 10 tuples, close the
// connection.
// Open another connection and check the number of tuples. It should be Zero.
import java.sql.*;
public class ConnTest22 {
public static void main(String[] args) {
try {
Class.forName("csql.jdbc.JdbcSq... | .version 52 0
.class public super ConnTest22
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:07:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.S... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:07:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,056 |
BasicLazyResolveTest | class BasicLazyResolveTest {
public void test() {
Object session = newMethod();
String packageDescriptor = session.toString();
}
private Object newMethod() {
return new Object() {
/*
public ClassMemberDeclarationProvider getClassMemberDeclarationProvider(JetClass jetClassOrObject) {
... | .version 52 0
.class super BasicLazyResolveTest
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end ... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 15:03:23 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 15:03:23 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,057 |
NumericHelper | import java.math.BigDecimal;
import java.text.DecimalFormat;
import java.text.DecimalFormatSymbols;
import java.text.ParseException;
public final class NumericHelper {
private NumericHelper() {
super();
}
public static BigDecimal getBigDecimalFromString(String numericValue, String numberFormat)
throw... | .version 52 0
.class public final super NumericHelper
.super java/lang/Object
.method private <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 11
L4 12
.end lin... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 11:54:29 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.text.ParseException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParamete... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 11:54:29 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,058 |
Test | class Test {
void m(boolean b) {
int x = 42;
try {
x = newMethod(b, x);
} catch (Exception e) {
System.out.println(x);
}
}
private int newMethod(boolean b, int x) throws Exception {
if (b) {
x = 23;
throw new Exception();
}
return x;
}
}
| .version 52 0
.class super Test
.super java/lang/Object
.method <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 1
.end linenumbertable
.end code
.end method
.method... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 18:47:51 GMT 2022
*/
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(mockJVMNonDeterminism =... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 18:47:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,059 |
PackageGlobalCmd | /** Internal enum */
final class PackageGlobalCmd {
public static final int _findCppNamespaceCmd = 0;
public static final PackageGlobalCmd findCppNamespaceCmd =
new PackageGlobalCmd(_findCppNamespaceCmd);
public static final int _findJavaPackageCmd = 1;
public static final PackageGlobalCmd findJavaPackage... | .version 52 0
.class final super PackageGlobalCmd
.super java/lang/Object
.field public static final _findCppNamespaceCmd I = 0
.field public static final findCppNamespaceCmd LPackageGlobalCmd;
.field public static final _findJavaPackageCmd I = 1
.field public static final findJavaPackageCmd LPackageGlobalCmd;
.... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:07:56 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:07:56 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,060 |
TrainingHallEquipment | import java.util.Scanner;
public class TrainingHallEquipment {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
double budget = Double.parseDouble(scanner.nextLine());
int itemsNumber = Integer.parseInt(scanner.nextLine());
double totalSum = 0.0;
for (int i = ... | .version 52 0
.class public super TrainingHallEquipment
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 18:59:44 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 18:59:44 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,061 |
QuoteRespType | public class QuoteRespType {
public static final int HIT_LIFT = 1;
public static final int COUNTER = 2;
public static final int EXPIRED = 3;
public static final int COVER = 4;
public static final int DONE_AWAY = 5;
public static final int PASS = 6;
}
| .version 52 0
.class public super QuoteRespType
.super java/lang/Object
.field public static final HIT_LIFT I = 1
.field public static final COUNTER I = 2
.field public static final EXPIRED I = 3
.field public static final COVER I = 4
.field public static final DONE_AWAY I = 5
.field public static final PASS I ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 21:17:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 21:17:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,062 |
Respace | import java.util.HashSet;
// CTCI: 17.13
// CTCI only has brute force and memoization (right -> left) solutions. This solution is dynamic
// programming (left -> right), uses O(n) space and runs in O(n^2) time.
// To find actual splits (spaces) we maintain separate array with positions.
//
// Example:
// Respace.respa... | .version 52 0
.class public super Respace
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 13
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:30:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:30:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,063 |
UserBean | import java.util.Date;
public class UserBean {
private long id;
private String user_login;
private String user_pass;
private String user_nicename;
private String user_email;
private String user_url;
private Date user_registered;
private String user_activation_key;
private boolean user_status;
priva... | .version 52 0
.class public super UserBean
.super java/lang/Object
.field private id J
.field private user_login Ljava/lang/String;
.field private user_pass Ljava/lang/String;
.field private user_nicename Ljava/lang/String;
.field private user_email Ljava/lang/String;
.field private user_url Ljava/lang/String; ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 16:22:10 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 16:22:10 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,064 |
Settings | /** Created by marcu on 2017-03-17. */
public class Settings {}
| .version 52 0
.class public super Settings
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code
.en... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 14:54:45 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 14:54:45 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,065 |
SendMessageUtil | public class SendMessageUtil {}
| .version 52 0
.class public super SendMessageUtil
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 2
.end linenumbertable
.end co... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 13:09:02 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 13:09:02 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,066 |
Test | import java.util.*;
public class Test {
public void foo() {
for (int i = 0; ; i++)
;
}
}
| .version 52 0
.class public super Test
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end code
.end me... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:22:33 GMT 2022
*/
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:22:33 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,067 |
Reference | public class Reference {
public static final String ID = "betterblacklisting";
public static final String NAME = "BetterBlacklisting";
public static final String VERSION = "0.4.0";
public static final String DESCRIPTION =
"A BetterBlacklisting Plugin for all your blacklisting needs!";
public static fina... | .version 52 0
.class public super Reference
.super java/lang/Object
.field public static final ID Ljava/lang/String; = 'betterblacklisting'
.field public static final NAME Ljava/lang/String; = 'BetterBlacklisting'
.field public static final VERSION Ljava/lang/String; = '0.4.0'
.field public static final DESCRIPTI... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:17:59 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:17:59 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,068 |
AdvancedScriptWebControlConstants | /*
* Licensed to The Apereo Foundation under one or more contributor license
* agreements. See the NOTICE file distributed with this work for additional
* information regarding copyright ownership.
*
* The Apereo Foundation licenses this file to you under the Apache License,
* Version 2.0, (the "License"); you ma... | .version 52 0
.class public final super AdvancedScriptWebControlConstants
.super java/lang/Object
.field public static final REQUEST_MAP Ljava/lang/String; = 'request'
.field public static final PREFIX Ljava/lang/String; = 'prefix'
.field public static final SUBMIT_JS Ljava/lang/String; = 'submitJavascript'
.fiel... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 07:05:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 07:05:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,069 |
UnsafeStringWriter | /*
* Copyright 1999-2011 Alibaba Group.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or a... | .version 52 0
.class public super UnsafeStringWriter
.super java/io/Writer
.field private mBuffer Ljava/lang/StringBuilder;
.method public <init> : ()V
.code stack 4 locals 1
L0: aload_0
L1: invokespecial Method java/io/Writer <init> ()V
L4: aload_0
L5: aload_0
L6: new java/lang/Strin... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 04:19:57 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.io.Writer;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 04:19:57 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,070 |
LearnMethodReference | import java.util.ArrayList;
import java.util.List;
/**
* http://www.tutorialspoint.com/java8/java8_method_references.htm
*
* @author jason
*/
public class LearnMethodReference {
public static void main(String[] args) {
List<String> fruits = new ArrayList<String>();
fruits.add("apple");
fruits.add("o... | .version 52 0
.class public super LearnMethodReference
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 12
.end linenumbertable
.... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 21:28:07 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 21:28:07 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,071 |
TestLightLevels | public class TestLightLevels {
public static final int LIGHTLEVELS = 32;
public static final int MAXLIGHTSCALE = 48;
public static final int NUMCOLORMAPS = 32;
public static final int LIGHTBRIGHT = 2;
public static final int DISTMAP = 2;
public static void main(String[] argv) {
for (int i = 0; i < LIG... | .version 52 0
.class public super TestLightLevels
.super java/lang/Object
.field public static final LIGHTLEVELS I = 32
.field public static final MAXLIGHTSCALE I = 48
.field public static final NUMCOLORMAPS I = 32
.field public static final LIGHTBRIGHT I = 2
.field public static final DISTMAP I = 2
.method pu... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:08:42 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:08:42 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,072 |
ConversionOfNumber | import java.math.BigInteger;
public class ConversionOfNumber {
@SuppressWarnings("unused")
private void getConversionOfNumber() {
// 10进制转16进制
Integer.toHexString(20);
// 10进制转2进制
Integer.toBinaryString(10);
// 16进制转10进制
Integer.parseInt("10", 16);
// 还有一种通用的方法
// 其中str为需要转换的字符串,int... | .version 52 0
.class public super ConversionOfNumber
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 5
.end linenumbertable
.end... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 19:56:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 19:56:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,073 |
SourceCode | /*
* This is a stub definition for pmd's SourceCode class
* including only the API used by the GoLanguage class.
*/
public class SourceCode {
public String getFileName() {
return null;
}
}
| .version 52 0
.class public super SourceCode
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
.end linenumbertable
.end code
.... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 08:34:51 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 08:34:51 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,074 |
Time | /*
* Copyright 2006 The National Library of New Zealand
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required b... | .version 52 0
.class public super Time
.super java/lang/Object
.field private hours I
.field private minutes I
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iconst_0
L6: putfield Field Time hours I ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 23:48:58 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.time.ZonedDateTime;
import java.util.Calendar;
import java.util.SimpleTimeZone;
import java.util.TimeZone... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 23:48:58 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,075 |
TrackDotSource | /**
* Copyright (c) 2013-2022 Contributors to the Eclipse Foundation
*
* <p>See the NOTICE file distributed with this work for additional information regarding copyright
* ownership. All rights reserved. This program and the accompanying materials are made available
* under the terms of the Apache License, Version... | .version 52 0
.class public super TrackDotSource
.super java/lang/Object
.field private id Ljava/lang/Long;
.field private gmtiUuid Ljava/util/UUID;
.field private distance Ljava/lang/Double;
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 13:39:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.evosuite.ru... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 13:39:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,076 |
ReviewDAOObject | import java.sql.Date;
public class ReviewDAOObject {
private long productId;
private long userId;
private String description;
private Date creationDate;
private int rating;
public ReviewDAOObject() {}
public ReviewDAOObject(
long productId, long userId, String description, Date creationDate, int ... | .version 52 0
.class public super ReviewDAOObject
.super java/lang/Object
.field private productId J
.field private userId J
.field private description Ljava/lang/String;
.field private creationDate Ljava/sql/Date;
.field private rating I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 12:59:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.sql.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class)... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 12:59:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,077 |
BaseItemDetais | /**
* Base holder for item details
*
* @author Bozhidar
*/
public class BaseItemDetais {
private String itemNumber;
private Double itemAmount;
private Double itemShipping;
private Double itemHandling;
private Double itemDiscount;
private Long itemQuantity;
public BaseItemDetais(Double itemAmount) {... | .version 52 0
.class public super BaseItemDetais
.super java/lang/Object
.field private itemNumber Ljava/lang/String;
.field private itemAmount Ljava/lang/Double;
.field private itemShipping Ljava/lang/Double;
.field private itemHandling Ljava/lang/Double;
.field private itemDiscount Ljava/lang/Double;
.field p... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:53:43 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWi... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:53:43 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,078 |
DatabaseItemModel | public abstract class DatabaseItemModel {
private String database;
private String schema;
private String alias;
public String getDatabase() {
return database;
}
public void setDatabase(String database) {
this.database = database;
}
public String getSchema() {
return schema;
}
public ... | .version 52 0
.class public super abstract DatabaseItemModel
.super java/lang/Object
.field private database Ljava/lang/String;
.field private schema Ljava/lang/String;
.field private alias Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method j... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:22:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:22:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.evosuite.runtime.s... | 139,079 |
MutableShort | /*
* Copyright (C) 2011 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public final super MutableShort
.super java/lang/Object
.field public value S
.method public <init> : (S)V
.code stack 2 locals 2
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: aload_0
L5: iload_1
L6: putfield Field MutableShort value S
L9: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:11:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:11:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,080 |
ConditionalLogic | public class ConditionalLogic {
public static void main(String[] args) {
// boolean tt ;
//
// if (tt) {
//
// } else {
//
// }
}
}
| .version 52 0
.class public super ConditionalLogic
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
.end linenumbertable
.end c... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 17:53:26 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 17:53:26 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,081 |
Errors | /** Just a contant list of the errors Created by bruno on 03/06/16. */
public class Errors {
// Object
public static final int NULL = 1;
public static final int EQUAL = 2;
// Boolean
public static final int FALSE = 4;
public static final int TRUE = 8;
// String
public static final int EMPTY = 16;
/... | .version 52 0
.class public super Errors
.super java/lang/Object
.field public static final NULL I = 1
.field public static final EQUAL I = 2
.field public static final FALSE I = 4
.field public static final TRUE I = 8
.field public static final EMPTY I = 16
.field public static final GREATER I = 32
.field pub... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 17:24:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 17:24:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,082 |
Consts | public class Consts {
public static final String host = "localhost:8080";
public static final String context = "Memo";
public static final String separate = "●●●"; // = "^(!#$-%&=)~";
public static final String COMMAND_FIXED = "command_fixed";
public static final String COMMAND_ON_EDIT = "command_on_edit";
... | .version 52 0
.class public super Consts
.super java/lang/Object
.field public static final host Ljava/lang/String; = 'localhost:8080'
.field public static final context Ljava/lang/String; = 'Memo'
.field public static final separate Ljava/lang/String; = '●●●'
.field public static final COMMAND_FIXED Ljava/lang/S... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 11:28:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 11:28:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,083 |
FullQueueException | /** Created by ema on 30/03/16. */
public class FullQueueException extends RuntimeException {}
| .version 52 0
.class public super FullQueueException
.super java/lang/RuntimeException
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/RuntimeException <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linen... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 23:30:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 23:30:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,084 |
MergeSort | public class MergeSort {
private int[] num;
private int[] tmp;
public int howManyComparisons(int[] numbers) {
num = numbers;
tmp = new int[numbers.length];
int ans = mergeSort(numbers, 0, numbers.length);
return ans;
}
private int mergeSort(int[] num, int L, int R) {
if (L + 1 >= R) retu... | .version 52 0
.class public super MergeSort
.super java/lang/Object
.field private num [I
.field private tmp [I
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 3
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:02:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:02:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,085 |
Question | import java.io.Serializable;
/** Klassen består av en fråga med fyra svarsalternativ */
public class Question implements Serializable {
private String question;
private String answer1;
private String answer2;
private String answer3;
private String answer4;
private String correctanswer;
private int ID;
... | .version 52 0
.class public super Question
.super java/lang/Object
.implements java/io/Serializable
.field private question Ljava/lang/String;
.field private answer1 Ljava/lang/String;
.field private answer2 Ljava/lang/String;
.field private answer3 Ljava/lang/String;
.field private answer4 Ljava/lang/String;
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 08:59:12 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 08:59:12 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,086 |
Patterns | /*
* Copyright (C) 2007 The Android Open Source Project
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by app... | .version 52 0
.class public super Patterns
.super java/lang/Object
.field public static final TOP_LEVEL_DOMAIN_STR Ljava/lang/String; = [s19]
.field public static final TOP_LEVEL_DOMAIN Ljava/util/regex/Pattern;
.field public static final TOP_LEVEL_DOMAIN_STR_FOR_WEB_URL Ljava/lang/String; = [s42]
.field public s... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 03:27:53 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import org.evosuite.runtime.EvoRunner;
import org.evo... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 03:27:53 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,087 |
LongestIncreasingSubsequence | import java.util.Arrays;
import java.util.Random;
public class LongestIncreasingSubsequence {
public static void main(String[] args) {
Random random = new Random();
int[] array = new int[10];
for (int i = 0; i < array.length; i++) {
array[i] = random.nextInt(999) + 1;
}
System.out.println(... | .version 52 0
.class public super LongestIncreasingSubsequence
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 10:19:39 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 10:19:39 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,088 |
MessageVo | import java.io.Serializable;
import java.util.Date;
/** Created by ssjk on 2016/11/14. */
public class MessageVo implements Serializable {
// id
private Integer smsId;
// 手机号
private String mobile;
// 类型,1:验证码 2:订单通知
private Byte type;
// 短信创建时间
private Date createDate;
// 短信消息处理时间
private Dat... | .version 52 0
.class public super MessageVo
.super java/lang/Object
.implements java/io/Serializable
.field private smsId Ljava/lang/Integer;
.field private mobile Ljava/lang/String;
.field private type Ljava/lang/Byte;
.field private createDate Ljava/util/Date;
.field private processTime Ljava/util/Date;
.fie... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 16:05:16 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.Date;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.mock.java.util.MockDate;
impor... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 16:05:16 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,089 |
ImporterChannelAssignment | /* This file is part of VoltDB.
* Copyright (C) 2008-2016 VoltDB Inc.
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU Affero General Public License as
* published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any la... | .version 52 0
.class public super ImporterChannelAssignment
.super java/lang/Object
.field final version I
.field final importer Ljava/lang/String;
.field final added Ljava/util/Set; .fieldattributes
.signature Ljava/util/Set<Ljava/net/URI;>;
.end fieldattributes
.field final removed Ljava/util/Set; .fielda... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 04:08:20 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.net.URI;
import java.util.LinkedHashSet;
import java.util.Set;
import org.evosuite.runtime.EvoRunner;
imp... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 04:08:20 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,090 |
ServerProxy | public class ServerProxy {
public void preInit() {}
public void registerThings() {}
public void registerRender() {}
public int addArmor(String armor) {
return 0;
}
public void registerItemRender() {}
}
| .version 52 0
.class public super ServerProxy
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4
.end linenumbertable
.end code
... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:21:49 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:21:49 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,091 |
MissingNumber | import java.util.Scanner;
// Source: https://www.hackerrank.com/challenges/missing-numbers
public class MissingNumber {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int[] arr = new int[10001];
int a = scanner.nextInt();
for (int i = 0; i < a; i++) arr[scanner.ne... | .version 52 0
.class public super MissingNumber
.super java/lang/Object
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 6
.end linenumbertable
.end code... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 09:14:41 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import static org.evosuite.runtime.EvoAssertions.*;
import java.util.NoSuchElementException;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunner... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 09:14:41 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,092 |
StreamOfRandoms | // streams/StreamOfRandoms.java
// (c)2017 MindView LLC: see Copyright.txt
// We make no guarantees that this code is fit for any purpose.
// Visit http://OnJava8.com for more book information.
import java.util.*;
import java.util.stream.*;
public class StreamOfRandoms {
static Random rand = new Random(47);
publi... | .version 52 0
.class public super StreamOfRandoms
.super java/lang/Object
.field static rand Ljava/util/Random;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 8
... | /*
* This file was automatically generated by EvoSuite
* Sun Jul 03 18:09:19 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sun Jul 03 18:09:19 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,093 |
ToDoItem | import java.util.UUID;
/** Created by radu on 16/11/2016. */
public class ToDoItem {
private UUID id;
private String text;
private String address;
private boolean done;
public ToDoItem() {}
public ToDoItem(String text, String address, boolean done) {
this.id = UUID.randomUUID();
this.text = text;... | .version 52 0
.class public super ToDoItem
.super java/lang/Object
.field private id Ljava/util/UUID;
.field private text Ljava/lang/String;
.field private address Ljava/lang/String;
.field private done Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 20:16:50 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import java.util.UUID;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.evosuite.runtime.Random;
import org.junit.runne... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 20:16:50 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,094 |
JMeterColor | /*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to you under the Apache License, Version 2.0
* (the "License"); you may ... | .version 52 0
.class public super JMeterColor
.super java/lang/Object
.field public static final DARK_GREEN Ljava/awt/Color;
.field public static final LAVENDER Ljava/awt/Color;
.field public static final PURPLE Ljava/awt/Color;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: in... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 00:47:27 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 00:47:27 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,095 |
ActionCommands | /** Created by Burak on 9/5/16. */
public class ActionCommands {
public static String hideLeftPanelClicked = "HideLeftPanelClicked";
}
| .version 52 0
.class public super ActionCommands
.super java/lang/Object
.field public static hideLeftPanelClicked Ljava/lang/String;
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 14:24:36 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 14:24:36 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,096 |
BuildConfig | /** Automatically generated file. DO NOT MODIFY */
public final class BuildConfig {
public static final boolean DEBUG = true;
}
| .version 52 0
.class public final super BuildConfig
.super java/lang/Object
.field public static final DEBUG Z = 1
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: return
L5:
.linenumbertable
L0 4 ... | /*
* This file was automatically generated by EvoSuite
* Mon Jul 04 07:07:48 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Mon Jul 04 07:07:48 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,097 |
MyThread | public class MyThread extends Thread {
private volatile boolean active = true;
public void run() {
while (active) {
System.out.println("Hello OSGi console");
try {
Thread.sleep(5000);
} catch (Exception e) {
System.out.println("Thread interrupted " + e.getMessage());
}
... | .version 52 0
.class public super MyThread
.super java/lang/Thread
.field private volatile active Z
.method public <init> : ()V
.code stack 2 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Thread <init> ()V
L4: aload_0
L5: iconst_1
L6: putfield Field MyThread active Z
L9: ... | /*
* This file was automatically generated by EvoSuite
* Fri Jul 01 06:09:35 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Fri Jul 01 06:09:35 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,098 |
ClassX | public class ClassX {
public static boolean IsCollected;
public ClassX() {
IsCollected = false;
}
public void dummy() {}
@Override
protected void finalize() {
IsCollected = true;
}
}
| .version 52 0
.class public super ClassX
.super java/lang/Object
.field public static IsCollected Z
.method public <init> : ()V
.code stack 1 locals 1
L0: aload_0
L1: invokespecial Method java/lang/Object <init> ()V
L4: iconst_0
L5: putstatic Field ClassX IsCollected Z
L8: return
L9:... | /*
* This file was automatically generated by EvoSuite
* Sat Jul 02 01:37:03 GMT 2022
*/
import org.junit.Test;
import static org.junit.Assert.*;
import org.evosuite.runtime.EvoRunner;
import org.evosuite.runtime.EvoRunnerParameters;
import org.junit.runner.RunWith;
@RunWith(EvoRunner.class) @EvoRunnerParameters(... | /**
* Scaffolding file used to store all the setups needed to run
* tests automatically generated by EvoSuite
* Sat Jul 02 01:37:03 GMT 2022
*/
import org.evosuite.runtime.annotation.EvoSuiteClassExclude;
import org.junit.BeforeClass;
import org.junit.Before;
import org.junit.After;
import org.junit.AfterClass;
... | 139,099 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.