首页 > 其他分享 >6.14博客

6.14博客

时间:2024-06-16 20:45:07浏览次数:22  
标签:RecordDao 02 博客 6.14 records org import junit

周五了太棒了

学习内容:安卓

package com.example.app_02;
import org.junit.Rule; import org.junit.Test;
import static org.junit.Assert.*;
import com.example.app_02.entity.Record; import com.example.app_02.utils.RecordDao;
import java.util.ArrayList;
/**  * Example local unit test, which will execute on the development machine (host).  *  * @see <a href="http://d.android.com/tools/testing">Testing documentation</a>  */ public class ExampleUnitTest {     @Test     public void test(){         String record = "";         ArrayList<Record> records = new ArrayList<>();         RecordDao recordDao = new RecordDao();         records = recordDao.findRecord();         for (int i = 0; i < records.size(); i++) {             record += records.get(i).toString();         }         System.out.println(record);     } }

标签:RecordDao,02,博客,6.14,records,org,import,junit
From: https://www.cnblogs.com/zjm921/p/18251213

相关文章

  • 6.5博客
    python和工程数学俩实验真累啊python学习:importrefromcollectionsimportCounterimportrequestsfromlxmlimportetreeimportpandasaspdimportjiebaimportmatplotlib.pyplotaspltfromwordcloudimportWordCloudheaders={"User-Agent":"Mozilla......
  • 6.10博客
    放松也放松完了快考试了进入状态了该学习内容:安卓<?xmlversion="1.0"encoding="utf-8"?><RelativeLayout    xmlns:android="http://schemas.android.com/apk/res/android"    xmlns:tools="http://schemas.android.com/tools" ......
  • 5.18博客
    上午数据库下午计网要是工程数学老师有数据库老师的松弛感就好了学习内容:安卓<RelativeLayoutxmlns:android="http://schemas.android.com/apk/res/android"  android:layout_width="match_parent"  android:layout_height="50dp"  android:background="#aaa......
  • 5.21博客
    又是周一!课这么多spring-boot就先放一放学习内容:安卓packagecom.example.app_02.database;importandroid.util.Log;importjava.sql.Connection;importjava.sql.DriverManager;importjava.sql.PreparedStatement;importjava.sql.ResultSet;publicclassMySQLCon......
  • 5.22博客
    还是上午计网下午建民老师的课,晚上又是跑步,今天跑得慢了点但是足足有七公里学习内容:安卓packagecom.example.app_02.entity;publicclassRecord{  privateStringstartTime;  privateStringendTime;  privateStringrecord;  publicRecord(){......
  • 5.23博客
    python和工程数学学习内容:下午没课所以可以看一下spring-boot自动配置原理安卓:packagecom.example.app_02.entity;publicclassUser{  privateStringusername;  privateStringpassword;  publicUser(){  }  publicUser(Stringusernam......
  • 5.24博客
    体育比赛也是完美收工,全胜学习内容:spring-boot自定义stater安卓:packagecom.example.app_02.entity;publicclassUserInfo{  privateStringstudentid;  privateStringname;  privateStringphonenumber;  privateStringclassname;  publ......
  • 5.25博客
    满满一周的课终于结束,奖励自己一杯奶茶吧学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.R;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.Record;importcom.example.app_02.entity.User;importja......
  • 5.28博客
    又是周一,那些杀不死我的还不如直接杀死我学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.User;importcom.example.app_02.entity.UserInfo;publicclassUserDaoextendsMySQLCo......
  • 5.29博客
    上午计网下午建民老师的课学习内容:安卓packagecom.example.app_02.utils;importcom.example.app_02.database.MySQLConnection;importcom.example.app_02.entity.User;importcom.example.app_02.entity.UserInfo;publicclassUserInfoDaoextendsMySQLConnection{......